// pages/messages/messages.js
const common = require('../../utils/common.js')
Page({
  data: {
    messages: [
      {id: 1, icon: 'bell', iconClass: 'bg-primary', title: '系统通知', content: '您有新的服务订单', time: '2小时前', unread: true},
      {id: 2, icon: 'envelope', iconClass: 'bg-secondary', title: '消息', content: '有人回复了您的需求', time: '5小时前', unread: true}
    ]
  },
  goToDetail(e) {
    common.showToast('消息详情功能开发中...', 'none')
  }
})

